package com.meritit.config;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component("customerFactoryBean")
public class CustomerFactoryBean implements FactoryBean<Customer>{

	@Override
	public Customer getObject() throws Exception {
		return new Customer();
	}

	@Override
	public Class<?> getObjectType() {
		return Customer.class;
	}

	@Override
	public boolean isSingleton() {
		return true;
	}

}
